<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Accordion Visual Test : Accordion option autoHeight true</title>
	<link rel="stylesheet" href="../visual.css" type="text/css" />
	<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
	<script type="text/javascript" src="../../../jquery-1.4.4.js"></script>
	<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../../../ui/jquery.ui.accordion.js"></script>
	<script type="text/javascript">
	$(function() {
		$("#accordion").accordion({
			fillSpace: true
		});
	})
	</script>
</head>
<body>

<div style="height: 500px; width: 500px; border: 1px solid red;">
	<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ultricies enim augue. Vestibulum quis risus massa. Donec ut augue vitae velit dignissim auctor ac eleifend nisi. Donec et urna sapien. Donec bibendum rhoncus erat sit amet suscipit. Ut sodales vestibulum urna, blandit tempor enim sodales ac. Integer sagittis mauris nec sapien ornare ut malesuada nunc egestas. Ut auctor metus eget leo imperdiet non cursus velit rutrum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur euismod ipsum ac sodales. Proin volutpat, est non ultricies iaculis, augue orci pulvinar lectus, quis tincidunt nibh odio a augue. Sed posuere interdum augue a consequat. Ut ac nunc nulla, quis aliquet purus. Nullam convallis elit id magna pretium pretium. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce commodo, ipsum ac ultrices porta, purus leo suscipit dui, sit amet ultricies ligula ante a dui. Morbi a sem quam, quis rhoncus quam.</p>
	<div id="accordion" style="width:490px;">
		<h3><a href="#">Accordion Header 1</a></h3>
		<div style="padding-top: 1em">
			Accordion Content 1
		</div>
		<h3><a href="#">Accordion Header 2</a></h3>
		<div style="padding-top: 3em">
			Accordion Content 2
			<p>paragraph</p>
			<p>paragraph</p>
			<p>paragraph</p>
			<p>paragraph</p>
			<p>paragraph</p>
			<p>paragraph</p>
			<p>paragraph</p>
		</div>
		<h3><a href="#">Accordion Header 3</a></h3>
		<div style="padding-top: 0">
			Accordion Content 3
			<ul>
				<li>list item</li>
				<li>list item</li>
				<li>list item</li>
			</ul>
		</div>
	</div>
</div>

</body>
</html>
